package com.gee.spring.boot.rpf;

import com.gee.spring.boot.rpf.util.context.ApplicationContextUtil;
import com.spring4all.swagger.EnableSwagger2Doc;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

/**
 * desc:
 *
 * @author gee wrote on  2021-02-01 17:29:35
 */
@SpringBootApplication
@EnableSwagger2Doc
@MapperScan("com.gee.spring.boot.rpf.mapper")
public class RpfApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext applicationContext = SpringApplication.run(RpfApplication.class, args);
        ApplicationContextUtil.setApplicationContext(applicationContext);
    }
}
